/*
 * Created by JFormDesigner on Wed Apr 19 20:20:04 CST 2023
 */

package com.viking.gui.userinformation;

import java.awt.*;
import java.util.*;
import javax.swing.*;

/**
 * @author 86137
 */
public class UserInformation extends JFrame {
    public UserInformation() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents  @formatter:off
        namelabel3 = new JLabel();
        positionlabel4 = new JLabel();
        jobNumberlabel5 = new JLabel();
        savebutton1 = new JButton();
        userInformationlabel6 = new JLabel();
        label7 = new JLabel();
        nametextField1 = new JTextField();
        positiontextField2 = new JTextField();
        jobNumbertextField3 = new JTextField();

        //======== this ========
        setTitle("\u7528\u6237\u4fe1\u606f");
        Container contentPane = getContentPane();
        contentPane.setLayout(null);

        //---- namelabel3 ----
        namelabel3.setText("\u59d3\u540d\uff1a");
        contentPane.add(namelabel3);
        namelabel3.setBounds(new Rectangle(new Point(225, 35), namelabel3.getPreferredSize()));

        //---- positionlabel4 ----
        positionlabel4.setText("\u804c\u4f4d\uff1a");
        contentPane.add(positionlabel4);
        positionlabel4.setBounds(new Rectangle(new Point(225, 95), positionlabel4.getPreferredSize()));

        //---- jobNumberlabel5 ----
        jobNumberlabel5.setText("\u5de5\u53f7\uff1a");
        contentPane.add(jobNumberlabel5);
        jobNumberlabel5.setBounds(new Rectangle(new Point(225, 150), jobNumberlabel5.getPreferredSize()));

        //---- savebutton1 ----
        savebutton1.setText("\u4fdd\u5b58");
        contentPane.add(savebutton1);
        savebutton1.setBounds(new Rectangle(new Point(30, 205), savebutton1.getPreferredSize()));

        //---- userInformationlabel6 ----
        userInformationlabel6.setText("\u7528\u6237\u4fe1\u606f");
        contentPane.add(userInformationlabel6);
        userInformationlabel6.setBounds(new Rectangle(new Point(10, 0), userInformationlabel6.getPreferredSize()));

        //---- label7 ----
        label7.setText("p");
        contentPane.add(label7);
        label7.setBounds(20, 25, 135, 165);
        contentPane.add(nametextField1);
        nametextField1.setBounds(265, 30, 115, nametextField1.getPreferredSize().height);
        contentPane.add(positiontextField2);
        positiontextField2.setBounds(265, 90, 115, 30);
        contentPane.add(jobNumbertextField3);
        jobNumbertextField3.setBounds(265, 145, 115, 30);

        {
            // compute preferred size
            Dimension preferredSize = new Dimension();
            for(int i = 0; i < contentPane.getComponentCount(); i++) {
                Rectangle bounds = contentPane.getComponent(i).getBounds();
                preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
            }
            Insets insets = contentPane.getInsets();
            preferredSize.width += insets.right;
            preferredSize.height += insets.bottom;
            contentPane.setMinimumSize(preferredSize);
            contentPane.setPreferredSize(preferredSize);
        }
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents  @formatter:on
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables  @formatter:off
    private JLabel namelabel3;
    private JLabel positionlabel4;
    private JLabel jobNumberlabel5;
    private JButton savebutton1;
    private JLabel userInformationlabel6;
    private JLabel label7;
    private JTextField nametextField1;
    private JTextField positiontextField2;
    private JTextField jobNumbertextField3;
    // JFormDesigner - End of variables declaration  //GEN-END:variables  @formatter:on
}
